package com.cherrish.demo.thread;

/**
 * @author cherrish
 * @time 2019-03-06 10:18
 * @name TestSynchronize
 * @desc:
 */
public class TestSynchronize {
    public synchronized void test1(){

    }
    public void test2(){
        synchronized (this){

        }
    }
    public static synchronized void test3(){}{}
}
